import turtle

def draw_polygon(sides=5, color='red'):
    t = turtle.Turtle()
    t.pencolor(color)
    for _ in range(sides):
        t.forward(50)
        t.right(360 / sides)

draw_polygon(3, 'blue')

draw_polygon(sides=6)

turtle.done()
